﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Collections;
using OgilvyOne.BLL;
using OgilvyOne.Model;

public partial class admin_vico_reginfo_detail : AdminBasePage
{
    
    protected void Page_Load(object sender, EventArgs e)
    {

        

        if (!IsPostBack)
        {
            this.headers.Text = new ColumnBll().LayeridColumnConNaiv(Request.Params["layerid"]);

            VicoRegInfoModel crm = new VicoRegInfoBll().GetModel(int.Parse(Request.Params["id"]));
            vico_model.Text = crm.Vico_model;
            username.Text = crm.User_name;
            sex.Text = crm.Sex;
            moblie.Text = crm.Mobile;
            email.Text = crm.Email;
            isincept.Text = crm.Isincept == 0 ? "否" : "是";
            buytime.Text = crm.Vico_buy_time;
            buyget.Text = crm.Vico_buy_budget;
            if (crm.Dealer > 0)
            {
                VicoDealerModel cdm = new VicoDealerBll().GetModel(crm.Dealer);
                if (cdm != null) dealer.Text = cdm.Dealernam;
            }
            time.Text = crm.Addtime.ToString();
            ip.Text = crm.Ip;
            source.Text = crm.Sourec;
            camname.Text = crm.Camname;
            channl.Text = crm.Channel;
            otherchannel.Text = crm.Other_channel;
        }
    }
}
